package io.renren.modules.lucky.service;

import io.renren.common.service.CrudService;
import io.renren.modules.lucky.dto.LuckyBillDTO;
import io.renren.modules.lucky.entity.LuckyBillEntity;

import java.math.BigDecimal;

/**
 * 招财猫结算记录
 *
 * @author Liang Pei 
 * @since 1.0.0 2025-01-06
 */
public interface LuckyBillService extends CrudService<LuckyBillEntity, LuckyBillDTO> {

    /**
     * 查询待审核+打款中的金额=结算中金额
     */
    BigDecimal querySettlementAmount(String platCode);

    /**
     * 查询已打款金额
     */
    BigDecimal queryPaidAmount(String platCode);
}